ERLIN
ERNUM
 
Syntax: ERLIN
   and: ERNUM
Location: QL ROM (post JM version)

These functions are used to find out details about SuperBASIC errors.

ERLIN returns the line number of the last error.  If the error occurred in a line typed into the command window (#0), then zero is returned.

ERNUM returns the error code for the last error:

Error   English message
-1      Not Complete
-2      Invalid Job
-3      Out of Memory
-4      Out of Range
-5      Buffer Full
-6      Channel not Open
-7      Not Found
-8      Already Exists
-9      In Use
-10     End of File
-11     Drive Full
-12     Bad Name
-13     Xmit Error
-14     Format Failed
-15     Bad Parameter
-16     Bad or Changed Medium
-17     Error in Expression
-18     Overflow
-19     Not Implemented Yet
-20     Read Only
-21     Bad Line

CROSS-REFERENCE:
REPORT invokes an error message and WHEN ERRor can be used to trap errors.
The ERR_... functions are alternatives to ERNUM.
